﻿using Dao.SqlHelper;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using sqlHelper.Common;
using Model.DBHelper;

namespace sqlHelper
{
    class Program
    {
        public static List<BasicData> basicData = null;

        static void Main(string[] args)
        {
            //var conStr = ConfigurationManager.ConnectionStrings["Connection"].ConnectionString;
            //SqlConnection con = new SqlConnection(conStr);
            //BasicData bs = new BasicData();
            //bs.parent = "TankNo";
            
            basicData = DBContext.db.SqlSelectList<BasicData>(x => x.parent == "TankNo", "basicData");


        }
    }
}
